home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DOSMAX17.ARJ / STOPMAX.DOC < prev    next >
Text File  |  1992-07-23  |  11KB  |  269 lines

  1.  
  2. ================================================================================
  3.        STOPMAX.SYS :  Ver. 1.7, Copyright (1992) by Philip B. Gardner
  4.        STOPM86.SYS (8086):  Ver. 1.7, Copyright (1992) by Philip B. Gardner
  5. ================================================================================
  6.  
  7.   STOPMAX.SYS is a derivative of DOSMAX.EXE.  The algorithums of DOSMAX which
  8.   "stop" the DOS 5.0 kernel from loading into the HMA have been assembled
  9.   separately into STOPMAX.SYS.  This allows DOSMAX.EXE to load high after
  10.   the memory manager has installed and still put the DOS kernel into a UMB.
  11.   STOPMAX is specifically for DOS 5.0 users and will not work with DOS
  12.   versions prior to DOS 5.0.
  13.  
  14.   STOPMAX prevents DOS from loading into the HMA using one of the for methods
  15.   which are also part of DOSMAX.  The default method "/B," patches the DOS 5.0
  16.   initialization code.  This method and the "/V" (VDISK header method), do
  17.   not require any resident memory, so STOPMAX simply executes and returns
  18.   all memory to DOS.  DOSMAX should then be loaded as a DEVICE, after the
  19.   memory manager and there is no restriction as to when DOSMAX should be
  20.   installed.
  21.  
  22.   Support is provided for:
  23.  
  24.         * Stopping DOS from loading into the HMA
  25.  
  26. ================================================================================
  27.  
  28. (Requirements)::
  29.  
  30.         * 186 processor or better
  31.           (STOPM86.SYS now included to support 8086/8088 processors)
  32.         * Requires MS-DOS Version 5.00 or better
  33.  
  34. ================================================================================
  35.  
  36. (Installation)::
  37.  
  38.         (CONFIG.SYS)::
  39.  
  40.         Installation of STOPMAX.SYS requires modifying the contents of
  41.         your CONFIG.SYS file.
  42.  
  43. (Generic Configuration)::
  44.  
  45.         This configuration should work and be the most efficient in 95%
  46.         of all configurations.  For a few real world examples see
  47.         EXAMPLES.DOC
  48.  
  49.         DOS=HIGH[,UMB]                    (DOS 5.0 only)
  50.         DEVICE=STOPMAX.SYS [options]      (Stops kernel from loading in HMA)
  51.         DEVICE=(xms/umb memory manager)
  52.         DEVICE=DOSMAX.EXE [options]       (DOSMAX loads high automatically)
  53.         SHELL=COMMAND.COM /P
  54.         BUFFERS=20
  55.         FILES=40
  56.         LASTDRIVE=Z
  57.  
  58.         DOS 5.0 should configure DOS to load high into the HMA.  The UMB
  59.         parameter is optional, since both DOS 5.0 upper memory management
  60.         and XMS upper memory blocks are supported by DOSMAX.
  61.  
  62.         DOS=HIGH[,[UMB][NOUMB]] (Both DOS 5.0 UMB's and XMS UMB's supported)
  63.  
  64.         Add a DEVICE= line for STOPMAX.SYS in your config.sys.  STOPMAX
  65.         must be loaded before the XMS and UMB memory manager, but some
  66.         memory managers provide high memory but not an HMA.  If your
  67.         memory manager does not support an HMA, then STOPMAX is not
  68.         necessary.  DOSMAX is then loaded "after" the memory manager
  69.  
  70.         HIMEM.SYS from Microsoft always puts the DOS 5.0 kernel into the
  71.         HMA before it is through initializing and then puts its own code
  72.         into the HMA.  If you are able to load HIMEM.SYS high (using some
  73.         upper memory providers, not EMM386.SYS), you can now use the /I+
  74.         switch to stop HIMEM from loading DOS into the HMA, and STOPMAX will
  75.         put it into a UMB instead.  The /B+ option (default) also stops
  76.         HIMEM.SYS from putting the DOS kernel into the HMA.  If you use only
  77.         DOS 5.0 files, meaning HIMEM.SYS and EMM386.SYS you should not use
  78.         STOPMAX.
  79.  
  80.         DEVICE=STOPMAX.SYS [options]
  81.         DEVICE=(Memory Manager)
  82.         ......
  83.         DEVICE=DOSMAX.EXE [options]
  84.  
  85.         By default, STOPMAX.SYS will generate a message for each successful
  86.         operation or event.  The display then pauses to allow you to
  87.         read the report.  After you are satisfied with the configuration
  88.         and you want to disable the REPORT and PAUSE feature, use:
  89.  
  90.         DEVICE=STOPMAX.SYS /R- /P- 
  91.  
  92.         All switch options and possible messages for STOPMAX are detailed
  93.         below:
  94.  
  95. ================================================================================
  96.  
  97. (Syntax)::
  98.  
  99.         The only thing to remember about syntax for the command line is
  100.         that just about anything works.  What this means is that you
  101.         should be able to type in the options on the command line the
  102.         way they make sense to you.
  103.  
  104.         To illustrate this point, the following command line example
  105.         is mutated several different ways.
  106.  
  107.         DEVICE=STOPMAX.SYS /R- /P- /B+
  108.         DEVICE=STOPMAX.SYS -R- -P- -B+
  109.         DEVICE=STOPMAX.SYS R- P- B+
  110.         DEVICE=STOPMAX.SYS R-P-B
  111.         DEVICE=STOPMAX.SYS -R-P-B
  112.  
  113.         ... and so on.
  114.  
  115. (Switch Options)::
  116.  
  117.         (REPORT)::      R[+ or -]        (toggle:  default +)
  118.  
  119.         Use /R- to disable the report after you are satisfied
  120.         with the configuration of STOPMAX.SYS
  121.  
  122.         (PAUSE)::       P[+ or -]        (toggle:  default +)
  123.  
  124.         Use /P+ to enable the pause after the any report messages.
  125.  
  126.         (INHIBIT HIMEM) I[+ or -]        (toggle:  default -)
  127.  
  128.         Use /I+ to stop HIMEM.SYS from loading DOS HIGH.  This switch
  129.         is intended for users who load HIMEM.SYS from Microsoft high
  130.         after their UMB provider.  This option is not very useful if
  131.         HIMEM.SYS is not loaded high because HIMEM will grow to about
  132.         30k in size.  If you still want to inhibit HIMEM, then load it
  133.         last, to minimize the "growth."  The reason HIMEM "grows" is
  134.         because the code which normally goes to the HMA is fixed at
  135.         offset 0A000, so if HIMEM is loaded below 0A00h, the size of
  136.         HIMEM grows to 0A00h + the size of the HMA code + the size of
  137.         the XMS handle table.  This option affects the size of STOPMAX
  138.         and adds 32 bytes.
  139.  
  140.         (NOPAUSE)::     N[+ or -]        (toggle:  default -)
  141.  
  142.         Use /N+ to never pause after the report, even if there
  143.         are errors.  This switch can be used if your configuration
  144.         generates a warning or error message which you choose to ignore.
  145.  
  146.         (VDISKHDR)::    V[+ or -]        (toggle:  default -)
  147.  
  148.         Use /V+ to use an alternate method of stopping DOS from
  149.         allocating the HMA.  This switch is only necessary if
  150.         STOPMAX reports that the DOS version is incompatible, and
  151.         it will only work with memory managers which can detect a
  152.         VDISK Header in the HMA when the memory manager initializes
  153.         and mark's it as allocated.
  154.  
  155.         (STOP DOS)::            B[+ or -]       (toggle:  default +)
  156.  
  157.         Use /B- to disable the patch method of stopping DOS from loading
  158.         in the HMA.  This method requires no resident memory and is
  159.         the default method employed by STOPMAX.  This method patches the
  160.         copy of DOS 5.0 initialization code in memory when STOPMAX
  161.         initializes.  This method will search and "patch out" the DOS to
  162.         HMA code.  This option was developed and tested under MSDOS 5.0
  163.         and is not guaranteed to work with DOS versions later than 5.0, but
  164.         then many of the algorithums in STOPMAX and DOSMAX depend upon
  165.         "undocumented" features of DOS which are always subject to change
  166.         anyway.  The advantage of this method is that it works no matter
  167.         which memory manager is used or how it is configured.
  168.  
  169.         *  everything in square brackets "[]" is optional
  170.  
  171. (CONFIG.SYS Line)::
  172.  
  173.         DEVICE=STOPMAX.SYS [/-][R-P+I+N+V+B-]
  174.  
  175.         device default:  /R+/P-/B+/I-/V-
  176.  
  177.         *  Report status messages
  178.         *  Don't Pause after report
  179.         *  Pause on errors or warnings
  180.  
  181. ================================================================================
  182.  
  183. (Report Format)::
  184.  
  185.         STOPMAX.SYS :  Ver. 1.7, Copyright (1992) by Philip B. Gardner
  186.              ERROR :  (Error Messages)
  187.            WARNING :  (Warning Messages)
  188.             ADVICE :  (Advisory Messages)
  189.                    :  (Report Messages)
  190.                    :  (Allocation Status)
  191.              PAUSE :  Press any key to continue... 
  192.  
  193. ================================================================================
  194.  
  195. (Error Messages)::
  196.  
  197.         MS-DOS version 5.00 or above is required
  198.         An 80186 processor or better is required
  199.         Can't load in High Memory
  200.         DOS version is not compatible
  201.         Not necessary for versions below DOS 5.0
  202.         DOS is HIGH already
  203.         Include DOS=HIGH in CONFIG.SYS
  204.         Couldn't write VDISK Header
  205.         Stop DOS to HMA patch not successful
  206.  
  207. ================================================================================
  208.  
  209. (Warning Messages)::
  210.  
  211.         Unknown option in command line
  212.         Extra characters on command line
  213.  
  214. ================================================================================
  215.  
  216. (Advisory Messages)::
  217.  
  218.         Should be the first DEVICE= in CONFIG.SYS
  219.         Try using /V+ switch
  220.         Try using /B+ switch
  221.  
  222. ================================================================================
  223.  
  224. (Report Messages)::
  225.  
  226. ================================================================================
  227.  
  228. (Allocation Status)::
  229.  
  230. ================================================================================
  231.  
  232. (Changes)::
  233.  
  234.     (Version 1.6)::
  235.  
  236.     (1) Added check for a 186 processor or better (allows V20/V30).
  237.  
  238.     (2) Removed the check for an XMS manager and a check for extended
  239.         memory.  This allows machines without extended memory to use
  240.         UMB providers, which do not require extended memory, with STOPMAX.
  241.         These checks were redundant since if DOS is in the HMA when
  242.         STOPMAX loads, the message "DOS is HIGH already" is reported.
  243.  
  244.     (3) Added /I option which inhibits HIMEM.SYS from loading DOS HIGH.
  245.         This switch is not very useful if HIMEM.SYS is not loaded high,
  246.         since HIMEM will be about 30k in size.  This switch is intended
  247.         for users who load HIMEM high after their UMB provider is installed.
  248.  
  249.     (4) Now supporting separate program STOPM86.SYS.  This program is 
  250.         functionally identical to STOPMAX.SYS, but is compiled to work
  251.         on 8086/8088 processors also.  I have learned that there are
  252.         8086/8088 machines which can be configured with High Memory
  253.         using some High Memory Managers, and this variation will make
  254.         it possible for those users to put DOS in a UMB even though
  255.         there is no HMA.  STOPM86.SYS requires 32 more bytes of memory.
  256.  
  257.    (5)  Added /B+ option which will stop DOS from going to the HMA by
  258.         patching the DOS initilization code in memory.  This method
  259.         works no matter which memory manager is in use or how it is
  260.         configured.  It also requires no resident memory.  I made this
  261.         the default method for STOPMAX.
  262.  
  263.    (Version 1.7)::
  264.  
  265.    (1)  Changed common parsing algorithum to support Hex-Notation input.
  266.         This input method is not used in STOPMAX at this time.
  267.  
  268. ================================================================================
  269.